IDEOnly Unit 1.0 c Copyright 1997 Applied Analytic Systems, Inc. Decision Technologies Group Purpose of IDEOnly Many Delphi programmers are realizing the value of component development for their own applications, and additional revenue which can be realized by making these components available to other developers. As shareware, demo, or other limited trial versions, it is essential that developers considering use of your components can explore all of the capabilities of the component or library. Many companies and shareware developers are using the technique of allowing full use of their software while within the Delphi development environment. Any application using the component outside of Delphi will not run, preventing distribution of their component without proper licensing and registration. Many developers have spent hours including methods in their components which check for Delphi, some of which we have discovered, are extremely ineffective. The IDEOnly unit is an effective technique for checking for the Delphi IDE in your component. It costs $15 and takes about 5 minutes to include in your component or dll. Files to install (16-Bit) Unit (required) Delphi\Lib\IDEONLY.DCU Evaluation version IDEOnly unit. Unit (optional) Delphi\Lib\IDECOMP.PAS Source for sample component using IDEOnly. Project (optional) Delphi\IDE\IDEDEMO.DPR Project file for the IDE demo. Delphi\IDE\IDEMOFRM.PAS Main form Source code for the IDE project. Delphi\IDE\IDEMOFRM.DFM DFM File for IDE project form. Files to install (32-Bit) Unit (required) Delphi 2.0\Lib\IDEONLY.DCU Evaluation version IDEOnly unit. Unit (optional) Delphi 2.0\Lib\IDECOMP.PAS Source for sample component using IDEOnly. Project (optional) Delphi 2.0\IDE\IDEDEMO.DPR Project file for the IDE demo. Delphi 2.0\IDE\IDEMOFRM.PAS Main form Source code for the IDE project. Delphi 2.0\IDE\IDEMOFRM.DFM DFM File for IDE project form. Installation First, unzip the archive into a temporary directory. Move the IDEOnly.PAS and IDEComp.DCU files (required) into the Delphi\Lib directory (or other directory on the Delphi path which is used for library units or VCL components). Add IDEOnly to the "uses" clause of your new component or dll. Demo Component The IDEComp.PAS file is simply an empty component which uses the IDEOnly unit, and calls the necessary procedure in its Create method. You can add IDEComp to your component library and recompile it. When the a TIDEDemoComp component is compiled into any form in an application, the application will warn the user and then terminate when the application is run without the Delphi IDE present. To install the Demonstration component select "Install Components" from the "Options" menu item and add IDECOMP.PAS to your component library. Function Reference User functions: InDelphiEnv For the exact description and usage of this function, see the help file. Also examine the source code from IDEComp.PAS. Licensed IDEOnly Unit The name "IDEOnly" is very descriptive of the unit's purpose. This is not good since someone hacking your component may be tempted to remove, or replace the unit with a more innocuous version. When IDEOnly is licensed, Applied Analytic Systems will recompile the unit using whatever name(s) you specify, e.g., "rptdefs.dcu", "htmtypes.dcu", or "glmfcns.dcu". Users are not likely to disturb such units. You can specify as many as 10 names. Due to the nature and usage of the unit, source code is NOT available. Registration License fees: 16-bit DCU $15 for a single developer license. 32-bit Delphi DCU $15 for a single developer license. Both 16 and 32-bit DCUs $20 for single developer licenses. No shipping charges within US or Canada. Shipping will be by e-mail wherever possible. US $5 charge for shipping outside of North America. Pennsylvania-based developers must include an additional 7% sales tax on the total order. Contact Applied Analytic Systems for site license discounts for multiple users at a single location. Be sure to specify the filename(s) for your IDEOnly unit. The following payment methods are currently available: Checks: Only checks drawn on a US bank valued in US$ can be accepted. Product will be shipped as soon as payment is received. Mail Checks to: Applied Analytic Systems, Inc. Carnegie Office Park Bldg 1, Suite 112 Carnegie, PA 15106 USA If the order is to be shipped to a Pennsylvania address, don't forget to include an additional 7% sales tax on the total order. CompuServe SWReg: Call or e-mail Applied Analytic Systems. Credit Cards: Call or e-mail Applied Analytic Systems. Any questions about the status of the shipment of an order, registration options, product details, technical support, volume discounts, dealer pricing, site licenses, credit card orders, ... should be directed to the Decision Technologies Group: CIS: 70651,1370 AOL: aascorp Internet: support@aasdt.com Web: http://www.aasdt.com/ Phone 412.278.2360 FAX: 412.788.4205 Shipping: Both e-mail and snail mail shipping is supported, so please provide your e-mail address if you have one!